package com.carleasoft.mps.cms.business.train.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 专项计划
 * </p>
 *
 * @author fan
 * @since 2023-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("c_train_plan_item")
public class TrainPlanItem implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 子编码
     */
    @TableField("ITEM_CODE")
    private String itemCode;

    /**
     * 计划编码
     */
    @TableField("PLAN_CODE")
    private String planCode;

    /**
     * 开始时间（精确到时分）
     */
    @TableField("START_TIME")
    private LocalDate startTime;

    /**
     * 结束时间（精确到时分）
     */
    @TableField("END_TIME")
    private LocalDate endTime;

    /**
     * 内容
     */
    @TableField("CONTENT")
    private String content;

    /**
     * 对象
     */
    @TableField("CLASS")
    private String theClass;

    /**
     * 负责单位
     */
    @TableField("PART")
    private String part;

    /**
     * 地点
     */
    @TableField("ADDRESS")
    private String address;


}
